package dao.interest;

import java.util.List;

import com.ibatis.sqlmap.client.SqlMapClient;

public class InterestDAOImpl implements InterestDAO{

	private SqlMapClient sqlMapClient;

	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}

	@Override
	public List<Integer> getInterestedMember(int majorunit_no) throws Exception {
		return sqlMapClient.queryForList("interest.getInterestedMember", majorunit_no);
	}
}
